package com.xueyi.system.BaseNyProcure.service.impl;

import com.xueyi.system.BaseNyProcure.domain.query.BaseNyProcureQuery;
import com.xueyi.system.BaseNyProcure.domain.dto.BaseNyProcureDto;
import com.xueyi.system.BaseNyProcure.service.IBaseNyProcureService;
import com.xueyi.system.BaseNyProcure.manager.IBaseNyProcureManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 农业采购管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BaseNyProcureServiceImpl extends BaseServiceImpl<BaseNyProcureQuery, BaseNyProcureDto, IBaseNyProcureManager> implements IBaseNyProcureService {

    /**
     * 查询农业采购对象列表 | 数据权限 | 附加数据
     *
     * @param baseNyProcure 农业采购对象
     * @return 农业采购对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseNyProcureMapper"})
    public List<BaseNyProcureDto> selectListScope(BaseNyProcureQuery baseNyProcure) {
        return baseManager.selectListExtra(baseNyProcure);
    }

}